﻿#Region "Using Directives"
Imports System
Imports System.Collections.Generic
Imports System.Text
#End Region

Namespace C4F.DevKit.Bluetooth
    Namespace ServiceAndDeviceDiscovery


        ''' <summary>
        ''' Represents the Bluetooth Socket Address.
        ''' </summary>
        <System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices. _
                                                     LayoutKind.Sequential, _
                                                     CharSet:=System.Runtime. _
                                                     InteropServices.CharSet.Unicode)> _
        Public Class BluetoothSocketAddress

            ''' <summary>
            ''' Address family of the socket.
            ''' </summary>
            Public AddressFamily As UShort

            ''' <summary>
            ''' Address of the target Bluetooth device.
            ''' </summary>
            Public Address As ULong

            ''' <summary>
            ''' Service Class Identifier of the socket.
            ''' </summary>
            Public ServiceClassId As Guid

            ''' <summary>
            ''' RFCOMM channel associated with the socket.
            ''' </summary>
            Public Port As UInteger
        End Class
    End Namespace
End Namespace
